import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class test2 {
    public static void main(String[] args) {
        try(OutputStream outputStream = new FileOutputStream("./test2", true)){
            outputStream.write(97);
            outputStream.write(98);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
